{% extends "layouts/application.html" %}
{% block content %}

<div align="center">
  <DIV class=boxright>
    <DIV class=bltop2>
      <div align="left">
        <strong>
          &nbsp;&nbsp;&nbsp;当前位置：&nbsp;&nbsp;<a href="/resource/show_resource/">资料库</a>
        </strong>
      </div>
    </DIV>
    <DIV class=c_box>
      <DIV class="rep_left">
        <table width="100%" border="0">
          {% if resource_list %}
          {% for resource in resource_list%}
            <td align="center">
              <table>
                <tr>
                  <td align="center">
                    <a  href="/resource/show_leveltwo_resource/{{resource.id}}">
                      <img onMouseOver="javascript:try{showUserCard(event,'/resource/ajax_leveltwo_resource/{{resource.id}}');}catch(ex){}" height='100px' width='100px' src='{{resource.get_img_url}}' style='border: none;'>
                    </a>
                  </td>
                </tr>
                <tr>
                  <td><p align="center">{{resource.name}}</p></td>
                </tr>
              </table>
            </td>
            {% ifequal forloop.counter 3%}
            <tr></tr>
            {% endifequal %}
            {% endfor %}
            {% endif %}
        </table>

        <!--一级菜单子目录 -->
        <DIV ALIGN="left" class=UserCard id=UserCard_layer onmouseover=_stopMouseOver(event) style="DISPLAY: none">
          <TABLE  cellSpacing=0 cellPadding=4 border=0 id="rs_after_tab">

          </TABLE>
        </DIV>
      </DIV>
    </DIV>
  </DIV>
</div>
{% endblock %}